package com.hqj.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("classify")
@ApiModel("分类表")
public class Classify {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("名字")
    private String name;
    @ApiModelProperty("父级ID")
    private Integer parentId;
    @ApiModelProperty("0表示未删除1表示删除")
    private Integer isDelete;
    @ApiModelProperty("类型")
    private Integer type;
}
